package com.lyf.Server.Impl;

import com.lyf.Dao.UserDao;
import com.lyf.Entity.User;
import com.lyf.Server.UserServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServerImpl implements UserServer {

    @Autowired
    private UserDao userDao;

    @Override
    public List<User> UserList() {
        return userDao.UserList();
    }
}
